<template>
  <div class="title">
    <h3>{{ subTitle }}</h3>
  </div>
</template>

<script>
export default {
  props: {
    subTitle: String,
  },
  name: "Title"
}
</script>

<style scoped lang="scss">
@import "./src/assets/css/variable";
@import "./src/assets/css/mixin";

.title {
  @include bg_sub_color();
  width: 100%;
  height: 84px;
  line-height: 84px;
  border-left: 5px solid transparent;
  @include border_color();

  h3 {
    @include font_size($font-large);
    @include font-color();
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin: 0 20px;
  }
}
</style>
